import React from 'react'
// ===================================================================== Temp
import FormModal from '#cpt/temp/FormModal'

// ===================================================================== component
class Index extends React.Component{
	state = {
		data: [],
		formData:[
			{ label: '终止原因', 			name:'reason', 		full:true, 	type:'textarea',	required:true },
		],
	}
	submit = {}
	open = (uuids)=> {
		this.submit = {uuid:uuids}
		this.modal.open({formRef: this.formRef})
	}
	
	render(){
		return FormModal.call(this, {title:'终止', labelWidth:'s6', width:700, api:'bs-contract/abort', 
			onRefresh:()=> this.props.onRefresh(),
		} )
	}
}

export default Index